Action hook 'customize_preview_{$this->id}'

in WP Core File wp-includes/class-wp-customize-setting.php at line 400

Description

Fires when the WP_Customize_Setting::preview() method is called for settings not handled as theme_mods or options. The dynamic portion of the hook name, `$this->id`, refers to the setting ID.

Occurrences

Filename Line Number
wp-includes/class-wp-customize-setting.php 400

Parameters

Type Name Description
WP_Customize_Setting $setting WP_Customize_Setting instance.

PHP Doc

/**
				 * Fires when the WP_Customize_Setting::preview() method is called for settings
				 * not handled as theme_mods or options.
				 *
				 * The dynamic portion of the hook name, `$this->id`, refers to the setting ID.
				 *
				 * @since 3.4.0
				 *
				 * @param WP_Customize_Setting $setting WP_Customize_Setting instance.
				 */